-- GENERATED SPELL FOR [Petrified Guardian] --


function spell0_14303(pUnit, Event) --@Regrowth,n/a--
pUnit:FullCastSpellOnTarget(22695,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14303', 23000, 1)
end

function Sorts_14303(pUnit, Event)
local choix_sorts_14303 = math.random(0, 0)
if choix_sorts_14303 == 0 then
pUnit:RegisterEvent('spell0_14303', 1, 1)
end
end

function mob14303_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14303', math.random(1500, 3000), 1)
end

function mob14303_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14303_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14303_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14303, 1, 'mob14303_Action')
RegisterUnitEvent(14303, 2, 'mob14303_Leave')
RegisterUnitEvent(14303, 3, 'mob14303_Kill')
RegisterUnitEvent(14303, 4, 'mob14303_Die')
